<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>智能报修系统——登录</title>
		<link rel="stylesheet" type="text/css" href="../../resources/mobileOperator/css/login.css"/>
	</head>0
	<body>
		<div id="out">
			<div id="logo">
				<img src="../../resources/mobileOperator/img/logo_fff.png" />
				<p>智能报修系统</p>
			</div>
			<form>
				<input type="text" name="usernum" id="usernum" value="" placeholder="请输入工号" />
				<input type="password" name="userpwd" id="userpwd" value="" placeholder="请输入密码"/>
				<input type="submit" value="登录" id="login_btn"/>
			</form>
		</div>
		<script type="text/javascript">
			var usernum=document.getElementById("usernum");
			var pwd=document.getElementById("userpwd");
			var login_btn=document.getElementById("login_btn");
			
			login_btn.onclick=function(){
				if (usernum.value==""||pwd.value=="") {
				alert("用户名或密码为空！");
				
			}else{
				window.open("operator.html");
			}
			}
			
		</script>
	</body>
</html>
